780ebafc2ba9deb74f722a884cd35c613f471fb9,clc/modules/cluster-manager/src/main/java/com/eucalyptus/images/Emis.java,BootableSet,populateVirtualBootRecord,#VmType#Partition#String#,305
Before Change
vmTypeInfo.setKernel( this.getKernel( ).getDisplayName( ), this.getKernel( ).getManifestLocation( ) );
}
if ( this.hasRamdisk( ) ) {
vmTypeInfo.setRamdisk( this.getRamdisk( ).getDisplayName( ), this.getRamdisk( ).getManifestLocation( ) );
}
}
if ( this.getMachine( ) instanceof StaticDiskImage ) {
After Change
}
if ( this.hasRamdisk( ) ) {
String manifestLocation = DownloadManifestFactory.generateDownloadManifest(
new ImageManifestFile( this.getRamdisk( ).getManifestLocation( ), BundleImageManifest.INSTANCE ),
partition.getNodePrivateKey(), this.getRamdisk( ).getDisplayName( ));
vmTypeInfo.setRamdisk( this.getRamdisk( ).getDisplayName( ), manifestLocation );
}